package com.walker.taogong.datamodel;

import java.util.List;

public class Worker extends User
{
    
    //真实姓名
    private String truelyName;
    //性别
    private Sex sex;
    //生日
    private String birthDay;
    //身份证号
    private String idNumber;
    //目前居住地址
    private Address workAddress;
    //家庭地址
    private Address homeAddress;
    

    //关注的任务类型
    private List<TaskType> taskTypes;
    //具备的技能, 能力
    private String skills;
    //自我描述
    private String selfDescription;
    //照片
    private byte[] photo;
    
    private String checkinTime;
    
    //是否愿意接收短信
    private boolean isSms;
    
    //在淘工网上的级别
    private int level;
    private int rating;
    
    public Worker(int id)
    {
        this.setId(id);
    }
    
    public Worker()
    {
        
    }
    
    public String getTruelyName()
    {
        return truelyName;
    }
    public void setTruelyName(String truelyName)
    {
        this.truelyName = truelyName;
    }
    public Sex getSex()
    {
        return sex;
    }
    public void setSex(Sex sex)
    {
        this.sex = sex;
    }
    public String getBirthDay()
    {
        return birthDay;
    }
    public void setBirthDay(String birthDay)
    {
        this.birthDay = birthDay;
    }
    public String getIdNumber()
    {
        return idNumber;
    }
    public void setIdNumber(String idNumber)
    {
        this.idNumber = idNumber;
    }
    public Address getWorkAddress()
    {
        return workAddress;
    }
    public void setWorkAddress(Address workAddress)
    {
        this.workAddress = workAddress;
    }
    public Address getHomeAddress()
    {
        return homeAddress;
    }
    public void setHomeAddress(Address homeAddress)
    {
        this.homeAddress = homeAddress;
    }
    public List<TaskType> getTaskTypes()
    {
        return taskTypes;
    }
    public void setTaskTypes(List<TaskType> taskTypes)
    {
        this.taskTypes = taskTypes;
    }
    public String getSkills()
    {
        return skills;
    }
    public void setSkills(String skills)
    {
        this.skills = skills;
    }
    public String getSelfDescription()
    {
        return selfDescription;
    }
    public void setSelfDescription(String selfDescription)
    {
        this.selfDescription = selfDescription;
    }
    public byte[] getPhoto()
    {
        return photo;
    }
    public void setPhoto(byte[] photo)
    {
        this.photo = photo;
    }
    public String getCheckinTime()
    {
        return checkinTime;
    }
    public void setCheckinTime(String checkinTime)
    {
        this.checkinTime = checkinTime;
    }
    public boolean isSms()
    {
        return isSms;
    }
    public void setSms(boolean isSms)
    {
        this.isSms = isSms;
    }
    public int getLevel()
    {
        return level;
    }
    public void setLevel(int level)
    {
        this.level = level;
    }
    public int getRating()
    {
        return rating;
    }
    public void setRating(int rating)
    {
        this.rating = rating;
    }
}
